<?php
namespace app\backend\model;

use think\Config;
use think\Db;
use think\Loader;
use think\Model;
use traits\model\SoftDelete;
use app\backend\org\Recursion;

class Contact extends Model
{
    //部门查询列表
    protected $table = 'ls_contact';
    public function getAll()
    {
        $data=$this
            ->field('con_id,contact_cn,contact_en,type_id,p_id')
            ->select()
        ;
        return $data;
    }

    use SoftDelete;
    static protected $deleteTime = 'delete_time';


}